tmem: Make the uint64_t oid[3] a proper structure: xen_tmem_oid
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 31 Aug 2015 14:57:27 +0000 (10:57 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 2 Sep 2015 12:48:00 +0000 (08:48 -0400)
commit987e64e05cc2e4a230ca364123d369dcc9a7b776
tree3aa549e454be06ee4a7e08438cdf5cc7a62a73ae
parentad1b7a1392190908e122054a4af4832fef877305
tmem: Make the uint64_t oid[3] a proper structure: xen_tmem_oid

And use it almost everywhere. It is easy to use it for the
sysctl since the hypervisor and toolstack are intertwined.

But for the tmem hypercall we need to be dilligient (as it
is guest facing) so delaying that to another patch:
"tmem: Use 'struct xen_tmem_oid' for every user" to help
with bisection issues.

We also move some of the parameters on functions to be within
the right location.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Jen Beulich <jbeulich@suse.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_tmem.c
xen/common/tmem.c
xen/include/public/sysctl.h